package com.tianji.enums;

import com.tianji.common.enums.BaseEnum;
import lombok.Getter;

/**
 * 聊天消息类型枚举
 */
@Getter
public enum MessageTypeEnum implements BaseEnum {
    USER_MESSAGE(1, "用户消息"),
    ASSISTANT_MESSAGE(2, "助手消息");

    private final int value;
    private final String desc;

    MessageTypeEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return this.name();
    }
}
